#ifndef REGISTER_H
#define REGISTER_H
#include"threadPool.h"
#include"logger.h"
#include"passwd.h"
#include"compute_hash.h"
#include "mysql.h"
#include"recv.h"

//判断登录还是注册
int log_Or_reg(int netfd,MysqlPool_t *mysql_pool);
//注册用户
int register_user(int sockfd,MysqlPool_t *mysql_pool);
//登录用户
int login_user(int netfd,MysqlPool_t *mysql_pool, int *login_flag);




#endif